package kr.co.m2soft.model.page.elements
{
	public class CV extends Figure
	{
		private var _cx1:Number;
		private var _cx2:Number;
		private var _cy1:Number;
		private var _cy2:Number;
		
		public function CV()
		{
			super();
		}
		
		override public function parser():void
		{
			super.parser();
			_cx1 = dataProvider.hasOwnProperty("@cx1") ? dataProvider.@cx1 : _cx1;
			_cx2 = dataProvider.hasOwnProperty("@cx2") ? dataProvider.@cx2 : _cx2;
			_cy1 = dataProvider.hasOwnProperty("@cy1") ? dataProvider.@cy1 : _cy1;
			_cy2 = dataProvider.hasOwnProperty("@cy2") ? dataProvider.@cy2 : _cy2;
		}

		public function get cx1():Number
		{
			return _cx1;
		}

		public function set cx1(value:Number):void
		{
			_cx1 = value;
		}

		public function get cx2():Number
		{
			return _cx2;
		}

		public function set cx2(value:Number):void
		{
			_cx2 = value;
		}

		public function get cy1():Number
		{
			return _cy1;
		}

		public function set cy1(value:Number):void
		{
			_cy1 = value;
		}

		public function get cy2():Number
		{
			return _cy2;
		}

		public function set cy2(value:Number):void
		{
			_cy2 = value;
		}


	}
}